package com.tuanzi.loan.vo.view.family;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Builder;
import lombok.Data;

@Data
public class ActivityModelView implements Serializable {

	private static final long serialVersionUID = 1387531819720829795L;

	private Long id;

	private String modelName;

	private Long modelType;

	private String modelRemark;

	private Date createTime;

	private String targetUrl;

	private List<ContentItem> items;

	@Builder
	@Data
	public static class ContentItem implements Serializable {

		private static final long serialVersionUID = -7744539740479817293L;

		private Long id;

		private String name;

		private String content;

		private String remark;

		private Integer type;

		private Integer sort;

		private Long modelId;

		public ContentItem() {
		}

		public ContentItem(Long id, String name, String content, String remark, Integer type, Integer sort, Long modelId) {
			this.id = id;
			this.name = name;
			this.content = content;
			this.remark = remark;
			this.type = type;
			this.sort = sort;
			this.modelId = modelId;
		}
	}

}
